    <?php $this->renderPartial('renderViewPost', array('lang' => $lang, 'data' => $cachePost)); ?>

    <?php if (count($olderPosts)) { ?>
        <div class="nav-bar clearfix">
            <h4><?php echo Helper::t('Older_Post'); ?></h4>
            <hr />
        </div>
        <div class="row-fluid">
            <?php foreach ($olderPosts as $k=>$older) { ?>
                <?php $imagePost = !empty($older->image) ? Helper::renderImage($older->image, 'uploads/thumb/Post', ',', true, true) : '/uploads/no_image.gif' ?>
                <?php $notMarginTop = $k == 0 || $k == 1 ? 'not-margin-top' : 'margin-top-20'; ?>
                <div class="span6 similar <?php echo $notMarginTop; ?>  <?php if ($k%2 == 0) { ?>not-margin-left<?php } ?>">
                    <div class="span3 avatar">
                            <a href="<?php echo Helper::url('/Blog/post/view', array('postAlias' => $older->alias, 'lang' => $lang)); ?>" title="<?php echo $older->title; ?>"><img src="<?php echo $imagePost; ?>" alt="<?php echo $older->title; ?>" /></a>
                    </div>
                    <div class="span9">
                            <h6><a class="big-accent" href="<?php echo Helper::url('/Blog/post/view', array('postAlias' => $older->alias)); ?>"><?php echo $older->title; ?></a></h6>
                        <p class="tertiary-color"><?php echo $older->info; ?></p>
                    </div>
                </div>
                <?php if ($k%2 != 0) { ?><div class="clearfix"></div><?php } ?>
            <?php } ?>
        </div>
    <?php } ?>

    <div id="comments" class="nav-bar clearfix">
        <h4><?php echo Helper::t('Comments'); ?></h4>
        <hr />
    </div>

    <?php Comment::show_comments(0, $cachePost); ?>

    <div class="nav-bar clearfix">
        <h4>Leave Comment</h4>
        <hr />
    </div>

    <?php $this->renderPartial('Admin.views.comment._form', array('model' => $modelComment)) ?>

<?php
$scriptShowFormComment = '
    $(function() {
        $(".replyComment").click(function() {
        var commentId = $(this).attr("id").replace("comment_","");
        $("form#comment-form").append("<input type=\"hidden\" name=\"current\" value="+commentId+" />");
        $(".form").appendTo($(this).parent().parent()).slideDown();

        return false;
        });
    })
    ';
Helper::cs()->registerScript('scriptShowFormComment', $scriptShowFormComment, CClientScript::POS_END);